
using Core.SimpleTemp.Common;
using Core.SimpleTemp.Entitys;
using Core.Toolkit.Core.Application;
using System;
using System.Collections.Generic;

namespace Core.SimpleTemp.Application
{
    [CreateMap(typeof(YH_Equipment))]
    public class YH_EquipmentDto : Dto
    {
        /// <summary>
        /// 区域ID
        /// </summary>
        public Guid? AreaID { get; set; }
        /// <summary>
        /// 区域名称
        /// </summary>
        [ConcurrentKeyToValueAttribute("97", "AreaID")]
        public String AreaName { get; set; }
        public List<Guid> AreaIds { get; set; }
        public String SearchMajorCode { get { return "YH_Equipment"; } }
        public String SearchMajorCodeName { get { return "设备设施"; } }
        /// <summary>
        /// 设备
        /// </summary>
        public String Equipment { get; set; }
        /// <summary>
        /// 功能部分
        /// </summary>
        public String FunctionalPart { get; set; }
        /// <summary>
        /// 子功能部分
        /// </summary>
        public String SubfunctionalPart { get; set; }
        /// <summary>
        /// 部件
        /// </summary>
        public String Parts { get; set; }
        /// <summary>
        /// 预期功能
        /// </summary>
        public String ExpectedFunction { get; set; }
        /// <summary>
        /// 故障
        /// </summary>
        public String Fault { get; set; }
        /// <summary>
        /// 隐患等级ID
        /// </summary>
        public Guid? RiskLevel { get; set; }
        [ConcurrentKeyToValue("03", "RiskLevel")]
        public string RiskLevelText { get; set; }
        /// <summary>
        /// 检查标准
        /// </summary>
        public String CheckStandard { get; set; }
        /// <summary>
        /// 违反标准的风险
        /// </summary>
        public String RiskOfViolation { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Guid? CreateFactory { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Guid? CreateDept { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Guid? UpdateDept { get; set; }

    }
}
